package jc223504;
/**
 * @(#)KookWai_A1.java
 *
 * KookWai_A1 application
 *
 * @Lock Kook Wai
 * @version 1.00 2011/3/24
 */

import java.util.ArrayList;

public class ProjModel
{

    private int horLanes = 1;
    private int verLanes = 1;
    private int gridSize = 20;
    private int middleHor;
    private int middleVer;
    private boolean LightHor = true;
    private boolean LightVer = false;

    public ProjModel() // constructor grid size
    {
    	//horLanes = 1;
    	//verLanes = 1;
    	//gridSize = 20;

    	middleHor = (gridSize/2)-1;
    	middleVer = (gridSize/2)-2;
    }


    public int getHorLanes()
    {
    	return horLanes;
    }
    public void setHorLanes(int horLanes)
    {
    	this.horLanes = horLanes;
    }
    public int getVerLanes()
    {
    	return verLanes;
    }
    public void setVerLanes(int verLanes)
    {
    	this.verLanes = verLanes;
    }
     public int getGridSize()
    {
    	return gridSize;
    }
    public void setGridSize(int gridSize)
    {
    	this.gridSize = gridSize;
    }

    public int getMiddleHor()
    {
    	return middleHor;
    }

    public int getMiddleVer()
    {
    	return middleVer;
    }

    public boolean getLightHor()
    {
    	return LightHor;
    }

    public void setLightHor(boolean lightHor)
    {
    	LightHor = lightHor;
    }

    public boolean getLightVer()
    {
    	return LightVer;
    }

    public void setLightVer(boolean lightVer)
    {
    	LightVer = lightVer;
    }
}
